package com.pym.bs.service;

import com.pym.bs.domain.User;
import com.pym.bs.dto.UserDTO;
import com.pym.bs.utils.Pageable;
import com.pym.bs.vo.PageVO;
import com.pym.bs.vo.ResultVO;
import com.pym.bs.vo.UserVO;


public interface UserService {
    UserDTO findByUsername(String username);

    ResultVO<UserVO> updatePassword(UserVO user);

    ResultVO<User> addUser(User user);

    ResultVO<UserDTO> editUser(UserDTO userDTO);

    ResultVO<User> delUser(Integer id);

    PageVO<UserDTO> listUser(UserDTO userDTO, Pageable pageable);

}
